package com.example.shortmessage.data.entity;

import java.io.Serializable;

public class Account implements Serializable {
    private boolean isRegister;
    private String passWord ;
    private User user;

    public Account() {
    }

    public Account(boolean isRegister, User user) {
        this.isRegister = isRegister;
        this.user = user;
    }

    public boolean isRegister() {
        return isRegister;
    }

    public void setRegister(boolean register) {
        isRegister = register;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }
}
